home *** CD-ROM | disk | FTP | other *** search
Makefile | 1990-03-30 | 2.8 KB | 116 lines |
- CC = cgcc
- CFLAGS = -O -I../h $(XFLAGS)
-
- SRCS= test0.c test1.c test2.c test3.c test4.c thand.c \
- hello.c bits.c faced.c klok.c charset.c dklok.c vtdemo.c \
- tetris.c testpollevent.c testlocalmenus.c multiwin.c
- OBJS= test0.o test1.o test2.o test3.o test4.o thand.o \
- hello.o bits.o faced.o klok.o charset.o dklok.o vtdemo.o \
- tetris.o testpollevent.o testlocalmenus.o multiwin.o
-
- GLIBES= -lstdwin -lgem -lpml
- ALIBES= ../alfa/liba.olb -lpml -ltermlib
- ALL= allg # alla
-
- all: $(ALL)
- allg: test0.G32 test1.G32 test2.G32 test3.G32 test4.G32 thand.G32\
- hello.G32 bits.G32 charset.G32 klok.G32 dklok.G32 \
- faced.G32 tetris.G32 testlocalmenus.G32\
- multiwin.G32
-
- # testpollevent.G32 vtdemo.G32
- alla: test0.A test1.A test2.A test3.A test4.A hello.A bits.A \
- charset.A klok.A dklok.A faced.A vtdemo.A tetris.A
-
- .SUFFIXES: .G32 .A
-
- .o.G32:
- $(CC) $(LDFLAGS) $*.o $(GLIBES) -o $*.G32
-
- .o.A:
- $(CC) $(LDFLAGS) $*.o $(ALIBES) -o $*.A
- clean:
- rm -f core *.o [,@#]*
-
- realclean: clean
- rm -f lib.a tags *.G32 *.A
-
- # End Rules
- test0.o: test0.c
- test0.o: ../h/stdwin.h
- test0.o: ../h/stdevent.h
- test0.o: ../h/stdtext.h
- test1.o: test1.c
- test1.o: ../h/stdwin.h
- test1.o: ../h/stdevent.h
- test1.o: ../h/stdtext.h
- test2.o: test2.c
- test2.o: ../h/stdwin.h
- test2.o: ../h/stdevent.h
- test2.o: ../h/stdtext.h
- test3.o: test3.c
- test3.o: ../h/stdwin.h
- test3.o: ../h/stdevent.h
- test3.o: ../h/stdtext.h
- test4.o: test4.c
- test4.o: ../h/stdwin.h
- test4.o: ../h/stdevent.h
- test4.o: ../h/stdtext.h
- thand.o: thand.c
- thand.o: ../h/stdwin.h
- thand.o: ../h/stdevent.h
- thand.o: ../h/stdtext.h
- hello.o: hello.c
- hello.o: ../h/stdwin.h
- hello.o: ../h/stdevent.h
- hello.o: ../h/stdtext.h
- bits.o: bits.c
- bits.o: ../h/stdwin.h
- bits.o: ../h/stdevent.h
- bits.o: ../h/stdtext.h
- faced.o: faced.c
- faced.o: ../h/stdwin.h
- faced.o: ../h/stdevent.h
- faced.o: ../h/stdtext.h
- klok.o: klok.c
- klok.o: ../h/tools.h
- klok.o: ../h/configure.h
- klok.o: ../h/l_defs.h
- klok.o: ../h/stdwin.h
- klok.o: ../h/stdevent.h
- klok.o: ../h/stdtext.h
- klok.o: ./bsdsetdate.c
- charset.o: charset.c
- charset.o: ../h/tools.h
- charset.o: ../h/configure.h
- charset.o: ../h/l_defs.h
- charset.o: ../h/stdwin.h
- charset.o: ../h/stdevent.h
- charset.o: ../h/stdtext.h
- dklok.o: dklok.c
- dklok.o: ../h/stdwin.h
- dklok.o: ../h/stdevent.h
- dklok.o: ../h/stdtext.h
- dklok.o: ./sevenseg.h
- vtdemo.o: vtdemo.c
- vtdemo.o: ../h/stdwin.h
- vtdemo.o: ../h/stdevent.h
- vtdemo.o: ../h/stdtext.h
- vtdemo.o: ../h/vt.h
- tetris.o: tetris.c
- tetris.o: ../h/stdwin.h
- tetris.o: ../h/stdevent.h
- tetris.o: ../h/stdtext.h
- testpollevent.o: testpollevent.c
- testpollevent.o: ../h/stdwin.h
- testpollevent.o: ../h/stdevent.h
- testpollevent.o: ../h/stdtext.h
- testlocalmenus.o: testlocalmenus.c
- testlocalmenus.o: ../h/stdwin.h
- testlocalmenus.o: ../h/stdevent.h
- testlocalmenus.o: ../h/stdtext.h
- multiwin.o: multiwin.c
- multiwin.o: ../h/stdwin.h
- multiwin.o: ../h/stdevent.h
- multiwin.o: ../h/stdtext.h
-